/**
* 作者: clz
* 日期: 2025-04-18 10:33:52
* 备注: 联盟建筑成员助力记录
*/
package com.motu.monstercity.server.game.userdata;

import com.motu.monstercity.protocol.Common;
import com.motu.monstercity.server.game.logic.UnionManager;

public class UnionBuildUserAssistRecord extends UnionBuildUserAssistRecordModel {
	public UnionBuildUserAssistRecord() {
		super();
	}

	public UnionBuildUserAssistRecord(long unionId,int buildId,long userId,int num) {
		putUnionBuildId(unionId + "-" + buildId);
		putUserId(userId);
		putNum(num);
	}

	public Common.PBUnionUserRecord.Builder takeRecordBuilder() {
		return UnionManager.takePBUnionUserRecordBuilder(getUserId(),getNum(),0,1);
	}

}
